package com.lanxiao.cloud.modules.dict.application.dto;

import com.lanxiao.cloud.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @author ：qiaoliang
 * @date ：2021-09-26
 */
@ApiModel("字典返回模型")
public class DictDto extends BaseDto<Long> {

  @ApiModelProperty(value = "字典排序")
  private final int sort;
  @ApiModelProperty(value = "字典标签")
  private final String label;
  @ApiModelProperty(value = "字典键值")
  private final String value;
  @ApiModelProperty(value = "字典类型")
  private final String type;
  @ApiModelProperty(value = "表格回显样式")
  private final String listClass;

  public DictDto(Long id, Date createTime, Date updateTime,
      String remark, int sort, String label, String value, String type, String listClass) {
    super(id, createTime, updateTime, remark);
    this.sort = sort;
    this.label = label;
    this.value = value;
    this.type = type;
    this.listClass = listClass;
  }

  public int getSort() {
    return sort;
  }

  public String getLabel() {
    return label;
  }

  public String getValue() {
    return value;
  }

  public String getType() {
    return type;
  }

  public String getListClass() {
    return listClass;
  }
}
